Animation Settings
The
setting
parameter passed to the
QTVRGetAnimationSetting
and
QTVRSetAnimationSetting
functions is a long integer that specifies a particular animation setting of an object node. Animation settings specify characteristics of the movie while it is playing. You can use these constants to specify animation settings:
typedef enum QTVRObjectAnimationSetting {
kQTVRPalindromeViewFrames = 1,
kQTVRStartFirstViewFrames = 2,
kQTVRDontLoopViewFrames = 3,
kQTVRPlayEveryViewFrame = 4,
kQTVRSyncViewToFrameRate = 16,
kQTVRPalindromeViews = 17
kQTVRPlayStreamingViews = 18
} QTVRObjectAnimationSetting;
Constant descriptions
-
kQTVRPalindromeViewFrames
-
Play a back-and-forth animation of the frames of the current view. The frames of the current view play with a positive or negative frame rate; the frame rate sign is switched each time the view end time (equal to the view duration) or the view start time (always 0) is reached.
-
kQTVRStartFirstViewFrames
-
Play the frame animation starting with the first frame in the view (that is, at the view start time). This setting is useful if a sound track is associated by time with object views. Even if the object view contains no animation, setting this flag allows any sound authored to play with the view to play from the beginning. When this flag is clear, each new object view begins playing using the current view time of the previous view.
-
kQTVRDontLoopViewFrames
-
Don't loop the frame animation. Animation frames and sound stop playing when the view duration is reached.
-
kQTVRPlayEveryViewFrame
-
Play every view frame. Animation plays all frames regardless of play rate. The play rate is used to adjust the duration in which a frame appears but no frames are skipped so the rate is not exact. When this property is set, sound tracks are not played.
-
kQTVRSyncViewToFrameRate
-
Synchronize the view animation to the frame animation. When view animation is enabled, the object views play at the same rate and animation settings as the frame animation rate and settings. This is useful if animation must be synchronized precisely across multiple views or a sound track is to be played during view animation instead of during frame animation.
-
kQTVRPalindromeViews
-
Play a back-and-forth animation of the views of the current node. When view animation is enabled, the object views play with a positive or negative view rate; the view rate sign is switched each time an object's pan equals the object's minimum pan limit or the object's maximum pan limit (the first column in a row or the last column in a row, respectively).
-
kQTVRPlayStreamingViews
-
When an object movie is streaming in from a network, this flag indicates whether the frames corresponding to the row in which the default view appears are to be played as they are loaded.
© 1998 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |